-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OSCI][CI] set-output is deprecated #5340
[OSCI][CI] set-output is deprecated #5340
Conversation
Signed-off-by: Vijay Vavdiya <vijayvavdiya@gmail.com>
Signed-off-by: Vijay Vavdiya <vijayvavdiya@gmail.com>
@abbyhu2000 |
Signed-off-by: Vijay Vavdiya <vijayvavdiya@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #5340 +/- ##
=======================================
Coverage 66.81% 66.81%
=======================================
Files 3286 3286
Lines 63148 63148
Branches 10054 10054
=======================================
Hits 42191 42191
Misses 18475 18475
Partials 2482 2482
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vvavdiya , looks good to me, although other maintainers are more familiar with GH workflows.
LGTM too! |
…f deprecated `set-output` in workflows Co-authored-by: Josh Romero <rmerqg@amazon.com> Signed-off-by: Vijay Vavdiya <vijayvavdiya@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Although I recommend further explaining what your solution was in the description section of PR. It seems a bit vague at least for me this:
Description
[CI] set-output is deprecated
Better would be
set-output
command for workflows is deprecated according to Github documentation. Update done using GITHUB_OUTPUT environment files. More details here.
<3 Thank you a lot @BigSamu. A great call out as it is important because this project utilizes GitHub but not every fork of this repo utilizes GitHub. So each commit be able to communicate it's change to users of git. Related: https://forum.opensearch.org/t/missing-commit-messages-and-changelogs/6223. Also, thank you so much @vvavdiya! A lot less warning messages now. I see the check link action still is outputting that warning. Did we want to update that as well or would you like to do it in a follow up PR? I'm fine with this as is but if it's quick enough would be better to get it in one go |
Updated the descriptions with more explanation.. |
@kavilla Thanks for your review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as well!
Oh I see, I think it is related to the actual github action we are using for checking links. The action might have an available upgrade that handles this deprecation. But that's outside this issue. Thank you! |
set-output command for workflows is deprecated according to Github documentation. Update done using GITHUB_OUTPUT environment files. More details here: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/#examples Issues Resolved #5322 * replaced set-output * CI replaced set-output * Updated CHANGELOG.md for #5322 [CI] Replace usage of deprecated `set-output` in workflows Signed-off-by: Vijay Vavdiya <vijayvavdiya@gmail.com> Co-authored-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit 8d8de0a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
set-output command for workflows is deprecated according to Github documentation. Update done using GITHUB_OUTPUT environment files. More details here: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/#examples Issues Resolved #5322 * replaced set-output * CI replaced set-output * Updated CHANGELOG.md for #5322 [CI] Replace usage of deprecated `set-output` in workflows Signed-off-by: Vijay Vavdiya <vijayvavdiya@gmail.com> Co-authored-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit 8d8de0a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
set-output command for workflows is deprecated according to Github documentation. Update done using GITHUB_OUTPUT environment files. More details here: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/#examples Issues Resolved #5322 * replaced set-output * CI replaced set-output * Updated CHANGELOG.md for #5322 [CI] Replace usage of deprecated `set-output` in workflows Signed-off-by: Vijay Vavdiya <vijayvavdiya@gmail.com> Co-authored-by: Josh Romero <rmerqg@amazon.com> (cherry picked from commit 8d8de0a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
set-output
command for workflows is deprecated according to Github documentation. Update done usingGITHUB_OUTPUT
environment files. More details here.Issues Resolved
#5322
Screenshot
Run cypress tests
https://github.com/vvavdiya/OpenSearch-Dashboards/actions/runs/6574727075/job/17864788175#logs
Testing the changes
Check List
yarn test:jest
yarn test:jest_integration